package com.wyw.hemerocallis.repository;

import com.wyw.hemerocallis.entity.HemerocallisRolePath;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * 类/方法简述
 *
 * @author Mr Wu    yewen.wu.china@gmail.com
 * <p>
 * Update History:
 * Author        Time            Content
 */
public interface HemerocallisRolePathRepository extends JpaRepository<HemerocallisRolePath, Integer> {
    /**
     * 通过 角色id + 路径id 寻找数据记录
     */
    HemerocallisRolePath findByRoleIdAndPathId(Integer roleId, Integer pathId);
}
